package com.gk.company.control
{
	import com.gk.company.view.event.GoMyCompanyEvent;
	import com.gk.init.model.UserInfoModel;
	
	import org.robotlegs.mvcs.Command;
	
	public class BackToMyCompanyCommand extends Command
	{
		
		[Inject]
		public var userInfoModel:UserInfoModel;
		
		public function BackToMyCompanyCommand()
		{
			super();
		}
		
		override public function execute():void
		{
			dispatch(new GoMyCompanyEvent(GoMyCompanyEvent.GO_MY_COMPANY,userInfoModel.userInfo));
		}
		
	}
}